package logic

import (
	"context"

	"shopping_srv/internal/svc"
	"shopping_srv/shopping"

	"github.com/zeromicro/go-zero/core/logx"
)

type ListCartLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewListCartLogic(ctx context.Context, svcCtx *svc.ServiceContext) *ListCartLogic {
	return &ListCartLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *ListCartLogic) ListCart(in *shopping.ListCartRequest) (*shopping.ListCartResponse, error) {
	// todo: add your logic here and delete this line

	return &shopping.ListCartResponse{}, nil
}
